package com.bringway.p2p.service.impl;

import java.util.List;

import net.sf.json.JSONObject;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.bringway.p2p.dao.DkDao;
import com.bringway.p2p.service.DkService;


/**
 * 
 * @author zhai
 * @version 创建时间：2015年12月14日 上午9:34:42
 * @功能：抽奖结果页面
 */

@Service
@Transactional
public class DkServiceImpl  implements DkService{

	@Autowired
	private DkDao dkDao;
	@Override
	public List querydk(JSONObject params) {
		// TODO Auto-generated method stub
		return dkDao.querydk(params);
	}

	@Override
	public int getdkCount(JSONObject params) {
		// TODO Auto-generated method stub
		return dkDao.getdkCount(params);
	}

}
